package com.shop.cereshop.app.dao.order;

import com.shop.cereshop.commons.domain.order.CereOrderParent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereOrderParentDAO {
    int deleteByPrimaryKey(Long parentId);

    int insert(CereOrderParent record);

    int insertSelective(CereOrderParent record);

    CereOrderParent selectByPrimaryKey(Long parentId);

    int updateByPrimaryKeySelective(CereOrderParent record);

    int updateByPrimaryKey(CereOrderParent record);

    CereOrderParent findById(@Param("id") Long id);

    List<Long> findShopIds(@Param("id") Long id);

}